package bean.replacemethod;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author com.alibaba.lizhen
 * @Date 2021/4/9 5:03 下午
 * @Version 1.0
 * @Description
 */
public class TestReplaceMethod {
	public static void main(String[] args) {
		ApplicationContext context
				= new ClassPathXmlApplicationContext("bean.replace.method/replacemethod.xml");
		OriginalDog originalDog = context.getBean("originalDog", OriginalDog.class);
		originalDog.sayHello();
	}
}
